<template>
  <div class="dashboard-container">
    <el-card style="height: 170px">
      <div class="menu_btn">
        <el-link href="#/exam/index" :underline="false">
          <el-avatar shape="square" class="blue">
            <el-icon><Calendar /></el-icon>
          </el-avatar>
          <span>我的考试</span>
        </el-link>
      </div>
      <div class="menu_btn">
        <el-link :underline="false">
          <el-avatar shape="square" class="purple">
            <el-icon><Promotion /></el-icon>
          </el-avatar>
          <span>成绩查询</span>
        </el-link>
      </div>
    </el-card>
  </div>
</template>

<script setup lang="ts">
defineOptions({
  name: "Dashboard",
  inheritAttrs: false,
});

onMounted(() => {});
</script>

<style lang="scss" scoped>
.dashboard-container {
  position: relative;
  padding: 24px;
  .github-corner {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    border: 0;
  }

  .data-box {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    font-weight: bold;
    color: var(--el-text-color-regular);
    background: var(--el-bg-color-overlay);
    border-color: var(--el-border-color);
    box-shadow: var(--el-box-shadow-dark);
  }

  .svg-icon {
    fill: currentcolor !important;
  }
  .box-card {
    text-align: center;
    font-size: 12px;
  }
  .menu_btn {
    display: inline-block;
    font-size: 14px;
    margin-left: 0;
    padding: 10px 55px 10px 10px;
    margin-bottom: 5px;
    border-radius: 5px;
  }
  .sky-blue {
    background-color: #3fc2f7;
  }
  .deep-blue {
    background-color: #4752e8;
  }
  .e158a6 {
    background-color: #e158a6;
  }
  .d6c1 {
    background-color: #33d6c1;
  }
  .purple {
    background-color: rgb(179, 127, 235);
  }
  .blue {
    background: #409eff;
  }
  .green {
    background-color: #67c23a;
  }
  .red {
    background-color: #f56c6c;
  }
  .yellow {
    background-color: #e6a23c;
  }
  .menu_btn span {
    margin-left: 8px;
  }
  .menu_btn:hover {
    background-color: #f2f2f2;
  }
  .el-link:hover {
    color: #000000;
  }
  .carousel-item {
    color: #475669;
    opacity: 0.75;
    margin: 0;
    text-align: center;
  }
}
</style>
